package com.blog.dao;

import java.util.List;

import com.blog.model.Comment;

public interface CommentMapper {
    int deleteByPrimaryKey(Integer comment_id);

    int insert(Comment record);

    int insertSelective(Comment record);

    Comment selectByPrimaryKey(Integer comment_id);

    int updateByPrimaryKeySelective(Comment record);

    int updateByPrimaryKey(Comment record);

	List<Comment> selectByArticleid(int link_articleId);

	List<Comment> selectByCommentAuthor(int link_articleId,int link_reply_comment_id);
}